body {
    font-family: Arial, sans-serif;
    background-color: white;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.radio-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    transition: border-color 0.2s;
}

.radio-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

button {
    width: 100%;
    padding: 10px;
    background-color: green;
    border: none;
    color: white;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

input:focus,
textarea:focus {
    border-color: blue;
    outline: none;
}

input:invalid,
select:invalid,
textarea:invalid {
    border-color: red;
}

input:valid,
select:valid,
textarea:valid {
    border-color: green;
}

.radio-group input[type="radio"]:checked {
    border-color: green;
    background-color: green;
    box-shadow: inset 0 0 0 4px white;
}

button:hover {
    background-color: black;
}

input[type="radio"]:checked+label {
    color: green;
}

button:disabled {
    background-color: grey;
}

input:first-of-type {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

textarea:nth-child(5) {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}